package com.xlh.support.attendance.po;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author cheer
 */
@ApiModel("考勤名单查询")
@Data
public class AttendanceListQueryPO {

    /**
     * 班级Id集合
     */
    @NotEmpty(message = "班级Id集合不能为空")
    private List<Long> classIdList;

    /**
     * 课程Id
     */
    @NotNull(message = "课程Id不能为空")
    private Long courseId;

    /**
     * 旷课次数排序
     */
    private String sort;

    /**
     * 用户信息
     */
    private String userInfo;

    /**
     * 结课状态
     */
    private Boolean status;
}
